package test01.t04;



/**
 * 传统用法 - 通过实现类实现
 * @Author lzp
 * @Date 2024-04-09
 */
public class Test01 {
    public static void main(String[] args) {
        WenHou iWenHou01 = new WenHouImpl01();
        iWenHou01.wenHou("张三");


        WenHou iWenHou02 = new WenHouImpl02();
        iWenHou02.wenHou("李四");
    }
}
